﻿
.cbp_tmtimeline {
	margin:0;
	padding: 0;
	list-style: none;
	position: relative;
    
    &:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #eee;
        left: 20%;
        margin-left: -6px;
    }
    
        > li {
        position: relative;
        
        &:first-child{
            
            .cbp_tmtime{
                
                span.large{
                    color: #444;
                    font-size: 17px !important;
                    font-weight:700;
                }
            }
            .cbp_tmicon{
                background:#fff;
                color:#666;
            }
        }
        
        &:nth-child(odd){
            
            .cbp_tmtime{
                
                span{
                    
                    &:last-child {
                        color: #444;
                        font-size: 13px;
                    }
                }
            }
            
            .cbp_tmlabel {
                background: #f0f1f3;              
                
                &:after {
                    border-right-color: #f0f1f3;
                }
            }
        }
        
        .empty{
            span{
                color:#777;
            }
        }
        
        .cbp_tmtime {
            display: block;
            width: 23%;
            padding-right: 70px;
            position: absolute;
            
            span {
                display: block;
                text-align: right;
                
                &:first-child {
                    font-size:15px;
                    color:#3d4c5a;
                    font-weight:700;
                }
                
                &:last-child {
                    font-size: 14px;
                    color: #444;
                }
            }
        }
        
        .cbp_tmlabel {
            margin: 0 0 15px 25%;
            background:#f0f1f3;            
            padding:1.2em;            
            position: relative;
            border-radius: 5px;
           
            &:after {
                right: 100%;
                border: solid transparent;
                content: " ";
                height: 0;
                width: 0;
                position: absolute;
                pointer-events: none;
                border-right-color: #f0f1f3;
                border-width: 10px;
                top: 10px;
            }
            
            blockquote{               
                font-size:16px;
                
            }
            
            .map-checkin{
                border: 5px solid rgba(235, 235, 235, 0.2);
                -moz-box-shadow: 0px 0px 0px 1px #ebebeb;
                -webkit-box-shadow: 0px 0px 0px 1px #ebebeb;
                box-shadow: 0px 0px 0px 1px #ebebeb;
                background: #fff !important;
            }
            
            h2 { 
                margin: 0px;
                padding: 0 0 10px 0;                
                line-height:26px;
                font-size: 16px;
                font-weight: normal;
                
                
                a{
                   font-size:15px;
                    
                    &:hover{
                        text-decoration:none;
                    }
                }
                span{
                    font-size:15px;                    
                }
            }
            p{
                color: #444;
            }
        }
        
        .cbp_tmicon {
            width: 40px;
            height: 40px;
            speak: none;
            font-style: normal;
            font-weight: normal;
            font-variant: normal;
            text-transform: none;
            font-size: 1.4em;
            line-height: 40px;
            -webkit-font-smoothing: antialiased;
            position: absolute;
            color: #fff;
            background: #46a4da;
            border-radius: 50%;
            box-shadow: 0 0 0 5px #f5f5f6;
            text-align: center;
            left: 20%;
            top: 0;
            margin: 0 0 0 -25px;
        }

    }
} 

/* Example Media Queries */
@media screen and (max-width: 992px) and (min-width: 768px) {
    .cbp_tmtimeline{
        >li{
            .cbp_tmtime{
                padding-right: 60px;
            }
        }
    }
       
}

/* Example Media Queries */
@media screen and (max-width: 65.375em) {

	.cbp_tmtimeline > li .cbp_tmtime span:last-child {
		font-size:12px;
	}
}

@media screen and (max-width: 47.2em) {
	.cbp_tmtimeline{

        &:before {
            display: none;
        }

        > li {

            .cbp_tmtime {
                width: 100%;
                position: relative;
                padding: 0 0 20px 0;

                span {
                    text-align: left;
                }
            }

            .cbp_tmlabel {
                margin: 0 0 30px 0;
                padding: 1em;
                font-weight: 400;
                font-size: 95%;

                &:after {
                    right: auto;
                    left: 20px;
                    border-right-color: transparent;
                    border-bottom-color: #f5f5f6;
                    top: -20px;
                }
            }

            .cbp_tmicon {
                position: relative;
                float: right;
                left: auto;
                margin: -64px 5px 0 0px;
            }
        }
    }
	.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
		border-right-color: transparent;
		border-bottom-color: #f5f5f6;
	}
}
